package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Buildings;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.dto.vo.Id_BuildingVO;
import com.example.mybatisplus.model.dto.vo.Stats4BuildingVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2024-07-16
 */
public interface BuildingsMapper extends BaseMapper<Buildings> {

    List<Stats4BuildingVO> getBuildingById();

    List<Id_BuildingVO> buildingListById(@Param("id") int id);
}
